package cn.yhbk.web.modules.manager.Service;

import cn.yhbk.web.modules.manager.Pojo.DTO.Activity.ActivityDto;
import cn.yhbk.web.modules.manager.Pojo.DTO.Activity.ActivityResp;
import cn.yhbk.web.modules.manager.Pojo.Entity.ActivityEntity;
import cn.yhbk.web.modules.manager.Pojo.VO.Activity.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ActivityService extends IService<ActivityEntity> {

    ActivityResp getActivityList();

    Boolean submit(ActivityVo activityVo, Long stuId);

    Boolean examine(Long adminId, Long activityExamineId, Integer examineStatus);

    Boolean adminUpdate(ActivityUpdate activityUpdate);

    void insert(ActivityVo activityVo);

    Page managePage(Long currPage, Long pageSize, Long categoryId);

    Page examinePage(Long currPage, Long pageSize, Integer examineStatus);

    List<ActivityDetailResp> getActivityDetail(Long activityId);

    void updateDetail(ActivityDetailUpdate activityDetailUpdate);
}
